package com.abiao.shop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Hello {

    @RequestMapping("hello")
    public String helloW(Model model){
        model.addAttribute("name","阿彪");
        return "Hello";
    }
}
